﻿using System;
using System.Collections.Generic;

namespace SJ.Platform.TransferTool.DBmodels;

/// <summary>
/// 审批记录表
/// </summary>
public partial class ApproveRecord
{
    /// <summary>
    /// 主键
    /// </summary>
    public string Id { get; set; } = null!;

    /// <summary>
    /// 主流程ID
    /// </summary>
    public string? Pid { get; set; }

    /// <summary>
    /// 审批流程ID
    /// </summary>
    public string? FlowId { get; set; }

    /// <summary>
    /// 审批流程节点ID
    /// </summary>
    public string? NodeId { get; set; }

    /// <summary>
    /// 审批人ID
    /// </summary>
    public string? ApproveUserId { get; set; }

    /// <summary>
    /// 审批人姓名
    /// </summary>
    public string? ApproveUserName { get; set; }

    /// <summary>
    /// 审批结果（1=同意，2=不同意）
    /// </summary>
    public int? ApproveResult { get; set; }

    /// <summary>
    /// 是否审核（1=审核，0=未审核）
    /// </summary>
    public int? IsCheck { get; set; }

    /// <summary>
    /// 审批意见
    /// </summary>
    public string? ApproveOpinion { get; set; }

    /// <summary>
    /// 审批时间
    /// </summary>
    public DateTime? ApproveTime { get; set; }

    /// <summary>
    /// 添加时间 
    /// </summary>
    public DateTime? CreateTime { get; set; }
}
